import com.google.gson.Gson;
import org.web.common.sso.server.helper.redis.CacheSessionDO;
import sun.net.util.IPAddressUtil;

public class A {

    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());
        long current = System.currentTimeMillis()+5000L;
        CacheSessionDO cacheSessionDO = new CacheSessionDO();
        cacheSessionDO.setAccountName("luyl");
        cacheSessionDO.setAccountNum("008");
        cacheSessionDO.setLastMarkTime(current);
        Gson gson = new Gson();
        System.out.println(gson.toJson(cacheSessionDO));
        System.out.println(IPAddressUtil.isIPv4LiteralAddress("163.com"));
    }
}
